Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove --python-version 3.7 references from tests #16848

Merged
merged 6 commits into from
Feb 1, 2024

Conversation

cdce8p
Copy link
Collaborator

@cdce8p cdce8p commented Feb 1, 2024

Remove --python-version 3.7 from tests if not necessary anymore or use 3.8 where it makes sense instead.

@cdce8p cdce8p marked this pull request as draft February 1, 2024 14:32

This comment has been minimized.

@cdce8p cdce8p marked this pull request as ready for review February 1, 2024 15:08
Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

test-data/unit/check-callable.test Outdated Show resolved Hide resolved
test-data/unit/check-errorcodes.test Outdated Show resolved Hide resolved
test-data/unit/check-errorcodes.test Outdated Show resolved Hide resolved
test-data/unit/check-generic-alias.test Outdated Show resolved Hide resolved
test-data/unit/check-generic-alias.test Outdated Show resolved Hide resolved
test-data/unit/check-newsemanal.test Outdated Show resolved Hide resolved
test-data/unit/check-union-or-syntax.test Outdated Show resolved Hide resolved
@@ -1711,7 +1710,7 @@ _testTypeAliasWithNewStyleUnion.py:25: note: Revealed type is "Union[Type[builti
_testTypeAliasWithNewStyleUnion.py:28: note: Revealed type is "Union[Type[builtins.int], builtins.str]"

[case testTypeAliasWithNewStyleUnionInStub]
# flags: --python-version 3.7
# flags: --python-version 3.8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# flags: --python-version 3.8

Not clear why this needs a version restriction

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted the changes to pythoneval.test entirely to prevent merge conflicts with #16844.

Copy link
Contributor

github-actions bot commented Feb 1, 2024

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@JelleZijlstra JelleZijlstra merged commit 9f51057 into python:master Feb 1, 2024
18 checks passed
@cdce8p cdce8p deleted the python-version-3.7 branch February 1, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants